
<template>
    <Cell>
        <radio-group v-model="checked">
       <radio name="1">单选框 1</radio>
       <radio name="2" >单选框 2</radio>
</radio-group>
      </Cell>
   
</template>

<script setup name="work">
import { ref } from 'vue';
import { RadioGroup, Radio,Cell,SwipeCell} from 'vant';
 const date = ref('');
    const show = ref(false);
  
    const checked = ref('1');
    const formatDate = (date) => `${date.getMonth() + 1}/${date.getDate()}`;
    const onConfirm = (value) => {
      show.value = false;
      date.value = formatDate(value);
    };
</script>
